From 15870c55f6db9ea8425fc78d44a6fbf3e447092e Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Tue, 28 Apr 2015 12:51:48 +0000 Subject: [PATCH] clean up stuttering semicolons. --- gpsbabel/arcdist.cc | 2 +- gpsbabel/csv_util.cc | 2 +- gpsbabel/garmin.cc | 2 +- gpsbabel/geo.cc | 2 +- gpsbabel/height.cc | 2 +- gpsbabel/shortname.cc | 2 +- gpsbabel/wbt-200.cc | 2 +- gpsbabel/wintec_tes.cc | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gpsbabel/arcdist.cc b/gpsbabel/arcdist.cc index d5c8e8d21..81885cb72 100644 --- a/gpsbabel/arcdist.cc +++ b/gpsbabel/arcdist.cc @@ -243,7 +243,7 @@ arcdist_process(void) (ptsopt || (ed->arcpt1->GetCreationTime().isValid()))) { /* Interpolate time */ if (ptsopt) { - wp->SetCreationTime(ed->arcpt2->GetCreationTime());; + wp->SetCreationTime(ed->arcpt2->GetCreationTime()); } else { // Apply the multiplier to the difference between the times // of the two points. Add that to the first for the diff --git a/gpsbabel/csv_util.cc b/gpsbabel/csv_util.cc index 78ad8ed74..7acde3c49 100644 --- a/gpsbabel/csv_util.cc +++ b/gpsbabel/csv_util.cc @@ -1115,7 +1115,7 @@ xcsv_parse_val(const char* s, Waypoint* wpt, const field_map_t* fmp, break; case XT_UTM: { char* ss; - int i = 0;; + int i = 0; utm_zone = strtod(s, &ss); utm_zonec = ss[i]; diff --git a/gpsbabel/garmin.cc b/gpsbabel/garmin.cc index 2d2b9bf6b..337331101 100644 --- a/gpsbabel/garmin.cc +++ b/gpsbabel/garmin.cc @@ -1167,7 +1167,7 @@ track_waypt_pr(const Waypoint* wpt) (*cur_tx_tracklist_entry)->lat = wpt->latitude; (*cur_tx_tracklist_entry)->lon = wpt->longitude; (*cur_tx_tracklist_entry)->alt = (wpt->altitude != unknown_alt) ? wpt->altitude : 1e25; - (*cur_tx_tracklist_entry)->Time = wpt->GetCreationTime().toTime_t();; + (*cur_tx_tracklist_entry)->Time = wpt->GetCreationTime().toTime_t(); if (!wpt->shortname.isEmpty()) { strncpy((*cur_tx_tracklist_entry)->trk_ident, CSTRc(wpt->shortname), sizeof((*cur_tx_tracklist_entry)->trk_ident)); (*cur_tx_tracklist_entry)->trk_ident[sizeof((*cur_tx_tracklist_entry)->trk_ident)-1] = 0; diff --git a/gpsbabel/geo.cc b/gpsbabel/geo.cc index 3a65f2402..192be2092 100644 --- a/gpsbabel/geo.cc +++ b/gpsbabel/geo.cc @@ -135,7 +135,7 @@ geocache_container wpt_container(const QString& args) v = gc_large; break; case 5: - v = gc_virtual;; + v = gc_virtual; break; case 6: v = gc_other; diff --git a/gpsbabel/height.cc b/gpsbabel/height.cc index fcf5b7046..f03e6e7ab 100644 --- a/gpsbabel/height.cc +++ b/gpsbabel/height.cc @@ -81,7 +81,7 @@ static double wgs84_separation(double lat, double lon) fatal(MYNAME ": Invalid latitude value (%f)\n", lat); } if ((lon > 180.0) || (lon < -180.0)) { - fatal(MYNAME ": Invalid longitude value (%f)\n", lon);; + fatal(MYNAME ": Invalid longitude value (%f)\n", lon); } ilat=(int)floor((90.0+lat)/GEOID_GRID_DEG); diff --git a/gpsbabel/shortname.cc b/gpsbabel/shortname.cc index a02d4d2d6..06e829f1e 100644 --- a/gpsbabel/shortname.cc +++ b/gpsbabel/shortname.cc @@ -337,7 +337,7 @@ main() // X("two 2", "two two"); // X("one 1 throne", " one one throne "); - X("dori", "do-ri");; + X("dori", "do-ri"); X("dora", "do$ra"); sn.badchars("or"); X("d-i", "do-ri"); diff --git a/gpsbabel/wbt-200.cc b/gpsbabel/wbt-200.cc index 6a145ce77..d4698b87c 100644 --- a/gpsbabel/wbt-200.cc +++ b/gpsbabel/wbt-200.cc @@ -548,7 +548,7 @@ static Waypoint* make_point(double lat, double lon, double alt, time_t tim, cons sprintf(wp_name, fmt, index); - wpt->latitude = lat;; + wpt->latitude = lat; wpt->longitude = lon; wpt->altitude = alt; wpt->SetCreationTime(tim); diff --git a/gpsbabel/wintec_tes.cc b/gpsbabel/wintec_tes.cc index b9dcbb36f..117ead718 100644 --- a/gpsbabel/wintec_tes.cc +++ b/gpsbabel/wintec_tes.cc @@ -50,7 +50,7 @@ wintec_date_to_time(uint32_t w) tm.tm_mon = ((w & 0x03c00000) >> 22) - 1; tm.tm_year = ((w & 0xfc000000) >> 26) + 100; - return mkgmtime(&tm);; + return mkgmtime(&tm); } static void -- 2.30.2